<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ page import="com.kaisheng.util.IntervalUtil" %>
<!DOCTYPE HTML>
<html>
<head>
	<title>项目管理系统</title>
	<link rel="stylesheet" href="static/css/bootstrap.min.css" />
	<style type="text/css">
		body{
			background-image:url(static/img/bg.png);
		}
	</style>
</head>

<body class="body">
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a href="#" class="brand">Kaishengit  PMS</a>
			</div>
		</div>
	</div>
	<div class="container">
		<div class="row" style="margin-top:60px">
			<div class="span3">
				<div style="padding:15px">
					<ul class="nav nav-list">
						<li class="nav-header" style="font-size:14px">${sessionScope.userProject.project.name }</li>
						<li class="divider"></li>
						<li class="active"><a href="project.jspx"><i class="icon-white icon-home"></i>最新动态</a></li>
						<li><a href="goal.jspx"><i class="icon-flag"></i>目标</a></li>
						<li><a href="document.jspx"><i class="icon-folder-open"></i>资料库</a></li>
						<li><a href="files.jspx"><i class="icon-file"></i>文件共享</a></li>
						<li><a href="contact.jspx"><i class="icon-user"></i>联系人</a></li>
						<li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
						<li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
						<li><a href="project.jspx?m=edit"><i class="icon-cog"></i>项目设置</a></li>
					</ul>								
				</div>						
			</div>
			<div class="span6">			
				<ul class="breadcrumb">
					<li><i class="icon-th"></i>你在想什么？</li>				
				</ul>
				<div>
					<form action=""  style="margin:0px auto">
						<textarea name="" id="" style="width:415px" rows="6"></textarea>
						<button class="btn btn-primary">发布</button>
					</form>									
				</div>
				
				<ul class="breadcrumb" style="margin-top:20px">
					<li><i class="icon-th"></i>信息流</li>
				
				</ul>
				<div>
					<c:forEach items = "${infosList}" var = "infos">
						 <blockquote>  
						 ${infos.message}<br>
						 <b style="padding-left:200px">${infos.createtime }</b>
						 </blockquote>
						
						<div >	
								
						</div>
					</c:forEach>
				</div>
			</div>
			<div class="span3">
									
				<ul class="breadcrumb" style="margin-bottom: 0px">
					<li>我的任务</li>
				</ul>
				<div style="border:1px solid #ccc;border-top:none">
					<c:if test="${ empty taskList }">还没有任何任务</c:if>
					<c:forEach items="${taskList }" var="task">
						<ul>												
							<li><a href="task.jspx?id=${task.id }">${task.name }</a><i class=""></i><br>任务状态：${task.status }——${task.rank }</li>
						</ul>
					</c:forEach>
				</div>
			</div>
		</div>
	
	</div>
	
	
	
</body>
</html>